package com.ruoyi.ctcx.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 保险风控信息对象 tb_insurance_risk
 * 
 * @author ruoyi
 * @date 2024-11-19
 */
public class TbInsuranceRisk extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 所属保险id */
    @Excel(name = "所属保险id")
    private Long insureId;

    /** 风险可能性，字典 */
    @Excel(name = "风险可能性，字典")
    private String possibility;

    /** 风控服务计划售前，是/否需要；0-否，1是 */
    @Excel(name = "风控服务计划售前，是/否需要；0-否，1是")
    private String front;

    /** 风控服务计划售后频率，字典 */
    @Excel(name = "风控服务计划售后频率，字典")
    private String back;

    /** 标的主要类型，字典 */
    @Excel(name = "标的主要类型，字典")
    private String type;

    /** 气象数据库附件，多个附件 */
    @Excel(name = "气象数据库附件，多个附件")
    private String attachment;

    /** $column.columnComment */
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setInsureId(Long insureId)
    {
        this.insureId = insureId;
    }

    public Long getInsureId()
    {
        return insureId;
    }
    public void setPossibility(String possibility) 
    {
        this.possibility = possibility;
    }

    public String getPossibility() 
    {
        return possibility;
    }
    public void setFront(String front) 
    {
        this.front = front;
    }

    public String getFront() 
    {
        return front;
    }
    public void setBack(String back) 
    {
        this.back = back;
    }

    public String getBack() 
    {
        return back;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setAttachment(String attachment) 
    {
        this.attachment = attachment;
    }

    public String getAttachment() 
    {
        return attachment;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("insureId", getInsureId())
            .append("possibility", getPossibility())
            .append("front", getFront())
            .append("back", getBack())
            .append("type", getType())
            .append("attachment", getAttachment())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
